From: Luc Teirlinck Date: Fri, 21 Nov 2003 05:02:08 +0000 (+0000) Subject: (Positions): Mention that, if a marker is used a a position, its X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24951 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6b3e3c1243f6b2d6789110bc1b8f1ddbe13862d1;p=emacs.git (Positions): Mention that, if a marker is used a a position, its buffer is ignored. --- diff --git a/lispref/positions.texi b/lispref/positions.texi index 3f465e034ae..72b84a6a0ce 100644 --- a/lispref/positions.texi +++ b/lispref/positions.texi @@ -18,7 +18,11 @@ after that position. Positions are usually represented as integers starting from 1, but can also be represented as @dfn{markers}---special objects that relocate automatically when text is inserted or deleted so they stay with the -surrounding characters. @xref{Markers}. +surrounding characters. Functions that expect an argument to be a +position (an integer), but accept a marker as a substitute, normally +ignore the marker buffer. Of course, markers used this way usually +point to a position in the buffer that the function operates on, but +that is entirely the programmer's responsibility. @xref{Markers}. See also the ``field'' feature (@pxref{Fields}), which provides functions that are used by many cursor-motion commands.